import request from '@/utils/request'
import requestLongTime from '@/utils/requestLongTime'

export function notCreate(data) {
  return request({
    url: '/agent/diagnosis/not/create',
    method: 'post',
    data
  })
}

export function alreadyCreate(data) {
  return request({
    url: '/agent/diagnosis/already/create',
    method: 'post',
    data
  })
}

export function createAll(data) {
  return requestLongTime({
    url: '/agent/diagnosis/create/all',
    method: 'post',
    data
  })
}

export function createOne(data) {
  return request({
    url: '/agent/diagnosis/create/one',
    method: 'post',
    data
  })
}

export function resExcel(data) {
  return requestLongTime({
    url: '/agent/diagnosis/excel',
    method: 'post',
    data
  })
}
